<template>
	<view>
		<!-- 
		 1、hover-class="boxHover"：绑定boxHover样式
		 安下后变颜色
		 2、hover-stay-time="0"：按下多久恢复原来的样式
		 -->
		<view class="box" 
		hover-class="boxHover" 
		hover-stay-time="0">
			view布局标签</view>
	</view>
</template>
 <script setup lang="ts">
</script>
//


 <style scoped lang="scss">
	.box {
		width: 200px;
		height: 200px;
		background-color: #ccc;
	}

	.boxHover {
		background-color: red;
	}
</style>